﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BaseMain.Master" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="DepartmentSystem.ChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>修改密码</h1>
     <div>
            <table class="table-condensed">
                <tr>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text="用户名"></asp:Label>

                    </td>
                    <td>
                        <asp:TextBox  class="form-control"  ID="TextBox1" ReadOnly="true" runat="server" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
                    </td>
                    
                </tr>
                <tr>

                    <td>
                        <asp:Label ID="Label4" runat="server" Text="邮箱"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox  class="form-control"   ReadOnly="true"   ID="TextBox2" runat="server"></asp:TextBox>

                    </td>
                    
                </tr>

                <tr>
                    <td>
                        <asp:Label ID="Label2" runat="server" Text="密码"></asp:Label>

                    </td>
                    <td>
                        <asp:TextBox  class="form-control"  ID="TextBox3" type="password" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="TextBox3" runat="server" ErrorMessage="密码不能为空"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label3" runat="server" Text="确认密码"></asp:Label>

                    </td>
                    <td>
                        <asp:TextBox  class="form-control"  ID="TextBox4" type="password" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ControlToValidate="TextBox4" runat="server" ErrorMessage="确认密码不能为空"></asp:RequiredFieldValidator>

                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Button ID="Button1" class="btn btn-lg btn-primary" Style="width: 200px" runat="server" Text="更新密码" OnClick="Button1_Click"  />

                    </td>

                </tr>
            </table>
        </div>
</asp:Content>
